﻿<Tree Items="@ExpandItems" ShowCheckbox="true" />

@code {
    private List<TreeItem> ExpandItems { get; set; } = GetExpandItems();

    private static List<TreeItem> GetExpandItems()
    {
        var ret = TreeDataFoo.GetTreeItems();
        ret[1].IsCollapsed = false;
        return ret;
    }
}
